package com.bbva.general.util;

import org.springframework.web.context.WebApplicationContext;

public class ServiceContextSpring {
	
	private static WebApplicationContext context;
	
	public static void initContext(WebApplicationContext context_){
		context=context_;
	}
	
	public static Object  getBean(String bean) {
		return context.getBean(bean);
	}
}
